# 定义两个整数变量 python_score、c_score，编写代码判断成绩
# 要求只要有一门成绩 >= 60 分就算合格
python_score = input("请输入你的python的课程成绩：")
c_score = input("请输入你的C的课程成绩：")
if python_score.isdigit() and c_score.isdigit():
    py_score = int(python_score)
    c_score = int(c_score)
    if py_score >= 60 or c_score >= 60:
        print("合格")
    else:
        print("不合格")
else:
    # not
    if not python_score.isdigit():
        print("python的成绩必须是数字")
    if not c_score.isdigit():
        print("c的成绩必须是数字")
    print("python的成绩和c的成绩必须是数字")
